Make ordinary isearch obey search-whitespace-regexp too.
authorChong Yidong <cyd@gnu.org>
Sun, 26 Aug 2012 03:57:55 +0000 (11:57 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 26 Aug 2012 03:57:55 +0000 (11:57 +0800)
commit0f6059b51d070727c9daf2b33a41dc36f2c2c0cf
treef8da5ab5632c58a24bc8458ad3b53eb797fd57ab
parent7d3a66c1a391eaca1787e8242b2dca99c289fba1
Make ordinary isearch obey search-whitespace-regexp too.

* lisp/isearch.el (search-whitespace-regexp): Make string and nil
values apply to both ordinary and regexp search.  Allow a cons
cell value to distinguish between the two.
(isearch-whitespace-regexp, isearch-search-forward)
(isearch-search-backward): New functions.
(isearch-occur, isearch-search-fun-default, isearch-search)
(isearch-lazy-highlight-new-loop): Use them.
(isearch-forward, isearch-forward-regexp): Doc fix.
etc/NEWS
lisp/ChangeLog
lisp/isearch.el